// const { dialog } = window.electronAPI
import { dialog } from '@electron/remote'

/**
 * 选择文件夹
 */
export const selectFolder = async () => {
    const res = await dialog.showOpenDialog({
        properties: ['openDirectory']
    })
    return res
}
